﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Janus.BaseEntitys
{
    public class WCFEnum
    {

        public enum Publics
        {
            /// <summary>
            /// 所有终端可访问
            /// </summary>
            ALL = 0,
            /// <summary>
            /// WEB终端可访问
            /// </summary>
            WEB = 1,
            /// <summary>
            /// CCS终端可访问
            /// </summary>
            CCS = 2,
            /// <summary>
            /// 私有的
            /// </summary>
            NONE = 3
        }


        /// <summary>
        /// 业务数据结构定义
        /// </summary>
        public enum WFBusinessDataType
        {
            [ShowName("表", "业务数据结构定义")]
            Table = 1,
            [ShowName("视图", "业务数据结构定义")]
            View = 2
        }

        /// <summary>
        /// 数据类型
        /// </summary>
        public enum WFDataType
        {
            /// <summary>
            /// 字符型
            /// </summary>
            String = 1,
            /// <summary>
            /// 整型 
            /// </summary>
            Int = 2,
            /// <summary>
            /// 浮点型
            /// </summary>
            Float = 3,
            /// <summary>
            /// 文本型
            /// </summary>
            Text = 4,
            /// <summary>
            /// 布尔型
            /// </summary>
            Boolean = 5,
            /// <summary>
            /// 短日期
            /// </summary>
            ShortDate = 6,
            /// <summary>
            /// 长日期
            /// </summary>
            LongDate = 7,
            /// <summary>
            /// 字节型
            /// </summary>
            Byte = 8,
            /// <summary>
            /// 数据对象
            /// </summary>
            DataObject = 9
        }
    }
}
